<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span id="local-6989586621679634241"><span id="local-6989586621679634242"></span></span><span class="hs-pragma">{-# LANGUAGE DeriveDataTypeable #-}</span><span>
</span><span id="line-2"></span><span class="hs-pragma">{-# LANGUAGE DeriveGeneric      #-}</span><span>
</span><span id="line-3"></span><span class="hs-comment">-- @since 3.0</span><span>
</span><span id="line-4"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Distribution.Types.PkgconfigVersion</span><span> </span><span class="hs-special">(</span><span>
</span><span id="line-5"></span><span>    </span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier">PkgconfigVersion</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-6"></span><span>    </span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#rpmvercmp"><span class="hs-identifier">rpmvercmp</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-7"></span><span>    </span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-8"></span><span>
</span><span id="line-9"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Compat.Prelude.html"><span class="hs-identifier">Distribution.Compat.Prelude</span></a></span><span>
</span><span id="line-10"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Prelude.html#"><span class="hs-identifier">Prelude</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-special">)</span><span>
</span><span id="line-11"></span><span>
</span><span id="line-12"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Parsec.html"><span class="hs-identifier">Distribution.Parsec</span></a></span><span>
</span><span id="line-13"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Pretty.html"><span class="hs-identifier">Distribution.Pretty</span></a></span><span>
</span><span id="line-14"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.Utils.Generic.html"><span class="hs-identifier">Distribution.Utils.Generic</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Distribution.Utils.Generic.html#isAsciiAlphaNum"><span class="hs-identifier">isAsciiAlphaNum</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-15"></span><span>
</span><span id="line-16"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="../../bytestring/src/Data.ByteString.html#"><span class="hs-identifier">Data.ByteString</span></a></span><span>                 </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">BS</span></span><span>
</span><span id="line-17"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="../../bytestring/src/Data.ByteString.Char8.html#"><span class="hs-identifier">Data.ByteString.Char8</span></a></span><span>           </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">BS8</span></span><span>
</span><span id="line-18"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="Distribution.Compat.CharParsing.html"><span class="hs-identifier">Distribution.Compat.CharParsing</span></a></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">P</span></span><span>
</span><span id="line-19"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><a href="../../pretty/src/Text.PrettyPrint.html#"><span class="hs-identifier">Text.PrettyPrint</span></a></span><span>                </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">PP</span></span><span>
</span><span id="line-20"></span><span>
</span><span id="line-21"></span><span class="hs-comment">-- | @pkg-config@ versions.</span><span>
</span><span id="line-22"></span><span class="hs-comment">--</span><span>
</span><span id="line-23"></span><span class="hs-comment">-- In fact, this can be arbitrary 'BS.ByteString',</span><span>
</span><span id="line-24"></span><span class="hs-comment">-- but 'Parsec' instance is a little pickier.</span><span>
</span><span id="line-25"></span><span class="hs-comment">--</span><span>
</span><span id="line-26"></span><span class="hs-comment">-- @since 3.0</span><span>
</span><span id="line-27"></span><span id="local-6989586621679634209"><span id="local-6989586621679634210"></span></span><span class="hs-keyword">newtype</span><span> </span><span id="PkgconfigVersion"><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-var">PkgconfigVersion</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span id="PkgconfigVersion"><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-var">PkgconfigVersion</span></a></span></span><span> </span><span class="annot"><a href="../../bytestring/src/Data.ByteString.Internal.html#ByteString"><span class="hs-identifier hs-type">BS.ByteString</span></a></span><span>
</span><span id="line-28"></span><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">(forall x. PkgconfigVersion -&gt; Rep PkgconfigVersion x)
-&gt; (forall x. Rep PkgconfigVersion x -&gt; PkgconfigVersion)
-&gt; Generic PkgconfigVersion
forall x. Rep PkgconfigVersion x -&gt; PkgconfigVersion
forall x. PkgconfigVersion -&gt; Rep PkgconfigVersion x
forall a.
(forall x. a -&gt; Rep a x) -&gt; (forall x. Rep a x -&gt; a) -&gt; Generic a
$cto :: forall x. Rep PkgconfigVersion x -&gt; PkgconfigVersion
$cfrom :: forall x. PkgconfigVersion -&gt; Rep PkgconfigVersion x
</span><a href="../../base/src/GHC.Generics.html#Generic"><span class="hs-identifier hs-var hs-var hs-var hs-var">Generic</span></a></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679634190"><span id="local-6989586621679634198"><span id="local-6989586621679634201"><span id="local-6989586621679634203"><span class="annot"><span class="annottext">ReadPrec [PkgconfigVersion]
ReadPrec PkgconfigVersion
Int -&gt; ReadS PkgconfigVersion
ReadS [PkgconfigVersion]
(Int -&gt; ReadS PkgconfigVersion)
-&gt; ReadS [PkgconfigVersion]
-&gt; ReadPrec PkgconfigVersion
-&gt; ReadPrec [PkgconfigVersion]
-&gt; Read PkgconfigVersion
forall a.
(Int -&gt; ReadS a)
-&gt; ReadS [a] -&gt; ReadPrec a -&gt; ReadPrec [a] -&gt; Read a
readListPrec :: ReadPrec [PkgconfigVersion]
$creadListPrec :: ReadPrec [PkgconfigVersion]
readPrec :: ReadPrec PkgconfigVersion
$creadPrec :: ReadPrec PkgconfigVersion
readList :: ReadS [PkgconfigVersion]
$creadList :: ReadS [PkgconfigVersion]
readsPrec :: Int -&gt; ReadS PkgconfigVersion
$creadsPrec :: Int -&gt; ReadS PkgconfigVersion
</span><a href="../../base/src/GHC.Read.html#Read"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Read</span></a></span></span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679634179"><span id="local-6989586621679634181"><span id="local-6989586621679634186"><span class="annot"><span class="annottext">Int -&gt; PkgconfigVersion -&gt; ShowS
[PkgconfigVersion] -&gt; ShowS
PkgconfigVersion -&gt; String
(Int -&gt; PkgconfigVersion -&gt; ShowS)
-&gt; (PkgconfigVersion -&gt; String)
-&gt; ([PkgconfigVersion] -&gt; ShowS)
-&gt; Show PkgconfigVersion
forall a.
(Int -&gt; a -&gt; ShowS) -&gt; (a -&gt; String) -&gt; ([a] -&gt; ShowS) -&gt; Show a
showList :: [PkgconfigVersion] -&gt; ShowS
$cshowList :: [PkgconfigVersion] -&gt; ShowS
show :: PkgconfigVersion -&gt; String
$cshow :: PkgconfigVersion -&gt; String
showsPrec :: Int -&gt; PkgconfigVersion -&gt; ShowS
$cshowsPrec :: Int -&gt; PkgconfigVersion -&gt; ShowS
</span><a href="../../base/src/GHC.Show.html#Show"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Show</span></a></span></span></span></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="../../base/src/Data.Typeable.Internal.html#Typeable"><span class="hs-identifier hs-type">Typeable</span></a></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679634145"><span id="local-6989586621679634147"><span id="local-6989586621679634149"><span id="local-6989586621679634151"><span id="local-6989586621679634153"><span id="local-6989586621679634155"><span id="local-6989586621679634157"><span id="local-6989586621679634159"><span id="local-6989586621679634161"><span id="local-6989586621679634163"><span id="local-6989586621679634165"><span id="local-6989586621679634167"><span id="local-6989586621679634170"><span id="local-6989586621679634174"><span class="annot"><span class="annottext">Typeable PkgconfigVersion
Typeable PkgconfigVersion
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; PkgconfigVersion -&gt; c PkgconfigVersion)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c PkgconfigVersion)
-&gt; (PkgconfigVersion -&gt; Constr)
-&gt; (PkgconfigVersion -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c PkgconfigVersion))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e))
    -&gt; Maybe (c PkgconfigVersion))
-&gt; ((forall b. Data b =&gt; b -&gt; b)
    -&gt; PkgconfigVersion -&gt; PkgconfigVersion)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r)
    -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; PkgconfigVersion -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r)
    -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; PkgconfigVersion -&gt; r)
-&gt; (forall u.
    (forall d. Data d =&gt; d -&gt; u) -&gt; PkgconfigVersion -&gt; [u])
-&gt; (forall u.
    Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; PkgconfigVersion -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; PkgconfigVersion -&gt; m PkgconfigVersion)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; PkgconfigVersion -&gt; m PkgconfigVersion)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d)
    -&gt; PkgconfigVersion -&gt; m PkgconfigVersion)
-&gt; Data PkgconfigVersion
PkgconfigVersion -&gt; DataType
PkgconfigVersion -&gt; Constr
(forall b. Data b =&gt; b -&gt; b)
-&gt; PkgconfigVersion -&gt; PkgconfigVersion
forall a.
Typeable a
-&gt; (forall (c :: * -&gt; *).
    (forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
    -&gt; (forall g. g -&gt; c g) -&gt; a -&gt; c a)
-&gt; (forall (c :: * -&gt; *).
    (forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
    -&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c a)
-&gt; (a -&gt; Constr)
-&gt; (a -&gt; DataType)
-&gt; (forall (t :: * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d. Data d =&gt; c (t d)) -&gt; Maybe (c a))
-&gt; (forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
    Typeable t =&gt;
    (forall d e. (Data d, Data e) =&gt; c (t d e)) -&gt; Maybe (c a))
-&gt; ((forall b. Data b =&gt; b -&gt; b) -&gt; a -&gt; a)
-&gt; (forall r r'.
    (r -&gt; r' -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall r r'.
    (r' -&gt; r -&gt; r) -&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; a -&gt; r)
-&gt; (forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; [u])
-&gt; (forall u. Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; a -&gt; u)
-&gt; (forall (m :: * -&gt; *).
    Monad m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; (forall (m :: * -&gt; *).
    MonadPlus m =&gt;
    (forall d. Data d =&gt; d -&gt; m d) -&gt; a -&gt; m a)
-&gt; Data a
forall u.
Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; PkgconfigVersion -&gt; u
forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; PkgconfigVersion -&gt; [u]
forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; PkgconfigVersion -&gt; r
forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; PkgconfigVersion -&gt; r
forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; PkgconfigVersion -&gt; m PkgconfigVersion
forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; PkgconfigVersion -&gt; m PkgconfigVersion
forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c PkgconfigVersion
forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; PkgconfigVersion -&gt; c PkgconfigVersion
forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c PkgconfigVersion)
forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c PkgconfigVersion)
gmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; PkgconfigVersion -&gt; m PkgconfigVersion
$cgmapMo :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; PkgconfigVersion -&gt; m PkgconfigVersion
gmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; PkgconfigVersion -&gt; m PkgconfigVersion
$cgmapMp :: forall (m :: * -&gt; *).
MonadPlus m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; PkgconfigVersion -&gt; m PkgconfigVersion
gmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; PkgconfigVersion -&gt; m PkgconfigVersion
$cgmapM :: forall (m :: * -&gt; *).
Monad m =&gt;
(forall d. Data d =&gt; d -&gt; m d)
-&gt; PkgconfigVersion -&gt; m PkgconfigVersion
gmapQi :: forall u.
Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; PkgconfigVersion -&gt; u
$cgmapQi :: forall u.
Int -&gt; (forall d. Data d =&gt; d -&gt; u) -&gt; PkgconfigVersion -&gt; u
gmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; PkgconfigVersion -&gt; [u]
$cgmapQ :: forall u. (forall d. Data d =&gt; d -&gt; u) -&gt; PkgconfigVersion -&gt; [u]
gmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; PkgconfigVersion -&gt; r
$cgmapQr :: forall r r'.
(r' -&gt; r -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; PkgconfigVersion -&gt; r
gmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; PkgconfigVersion -&gt; r
$cgmapQl :: forall r r'.
(r -&gt; r' -&gt; r)
-&gt; r -&gt; (forall d. Data d =&gt; d -&gt; r') -&gt; PkgconfigVersion -&gt; r
gmapT :: (forall b. Data b =&gt; b -&gt; b)
-&gt; PkgconfigVersion -&gt; PkgconfigVersion
$cgmapT :: (forall b. Data b =&gt; b -&gt; b)
-&gt; PkgconfigVersion -&gt; PkgconfigVersion
dataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c PkgconfigVersion)
$cdataCast2 :: forall (t :: * -&gt; * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d e. (Data d, Data e) =&gt; c (t d e))
-&gt; Maybe (c PkgconfigVersion)
dataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c PkgconfigVersion)
$cdataCast1 :: forall (t :: * -&gt; *) (c :: * -&gt; *).
Typeable t =&gt;
(forall d. Data d =&gt; c (t d)) -&gt; Maybe (c PkgconfigVersion)
dataTypeOf :: PkgconfigVersion -&gt; DataType
$cdataTypeOf :: PkgconfigVersion -&gt; DataType
toConstr :: PkgconfigVersion -&gt; Constr
$ctoConstr :: PkgconfigVersion -&gt; Constr
gunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c PkgconfigVersion
$cgunfold :: forall (c :: * -&gt; *).
(forall b r. Data b =&gt; c (b -&gt; r) -&gt; c r)
-&gt; (forall r. r -&gt; c r) -&gt; Constr -&gt; c PkgconfigVersion
gfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; PkgconfigVersion -&gt; c PkgconfigVersion
$cgfoldl :: forall (c :: * -&gt; *).
(forall d b. Data d =&gt; c (d -&gt; b) -&gt; d -&gt; c b)
-&gt; (forall g. g -&gt; c g) -&gt; PkgconfigVersion -&gt; c PkgconfigVersion
</span><a href="../../base/src/Data.Data.html#Data"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Data</span></a></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span class="hs-special">)</span><span>
</span><span id="line-29"></span><span>
</span><span id="line-30"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679634141"><span class="annot"><span class="hs-identifier hs-type">Eq</span></span><span> </span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-type">PkgconfigVersion</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-31"></span><span>    </span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-type">PkgconfigVersion</span></a></span><span> </span><span id="local-6989586621679634137"><span class="annot"><span class="annottext">ByteString
</span><a href="#local-6989586621679634137"><span class="hs-identifier hs-var">a</span></a></span></span><span> </span><span id="local-6989586621679634136"><span class="annot"><span class="annottext">== :: PkgconfigVersion -&gt; PkgconfigVersion -&gt; Bool
</span><span class="hs-operator hs-var hs-var hs-var hs-var">==</span></span></span><span> </span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-type">PkgconfigVersion</span></a></span><span> </span><span id="local-6989586621679634135"><span class="annot"><span class="annottext">ByteString
</span><a href="#local-6989586621679634135"><span class="hs-identifier hs-var">b</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">ByteString -&gt; ByteString -&gt; Ordering
</span><a href="Distribution.Types.PkgconfigVersion.html#rpmvercmp"><span class="hs-identifier hs-var">rpmvercmp</span></a></span><span> </span><span class="annot"><span class="annottext">ByteString
</span><a href="#local-6989586621679634137"><span class="hs-identifier hs-var">a</span></a></span><span> </span><span class="annot"><span class="annottext">ByteString
</span><a href="#local-6989586621679634135"><span class="hs-identifier hs-var">b</span></a></span><span> </span><span class="annot"><span class="annottext">Ordering -&gt; Ordering -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">==</span></span><span> </span><span class="annot"><span class="annottext">Ordering
</span><span class="hs-identifier hs-var">EQ</span></span><span>
</span><span id="line-32"></span><span>
</span><span id="line-33"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679634120"><span id="local-6989586621679634122"><span id="local-6989586621679634124"><span id="local-6989586621679634126"><span id="local-6989586621679634128"><span id="local-6989586621679634130"><span class="annot"><span class="hs-identifier hs-type">Ord</span></span><span> </span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-type">PkgconfigVersion</span></a></span></span></span></span></span></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-34"></span><span>    </span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-type">PkgconfigVersion</span></a></span><span> </span><span id="local-6989586621679634118"><span class="annot"><span class="annottext">ByteString
</span><a href="#local-6989586621679634118"><span class="hs-identifier hs-var">a</span></a></span></span><span> </span><span id="local-6989586621679634117"><span class="annot"><span class="annottext">compare :: PkgconfigVersion -&gt; PkgconfigVersion -&gt; Ordering
</span><span class="hs-operator hs-var hs-var hs-var hs-var">`compare`</span></span></span><span> </span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-type">PkgconfigVersion</span></a></span><span> </span><span id="local-6989586621679634115"><span class="annot"><span class="annottext">ByteString
</span><a href="#local-6989586621679634115"><span class="hs-identifier hs-var">b</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">ByteString -&gt; ByteString -&gt; Ordering
</span><a href="Distribution.Types.PkgconfigVersion.html#rpmvercmp"><span class="hs-identifier hs-var">rpmvercmp</span></a></span><span> </span><span class="annot"><span class="annottext">ByteString
</span><a href="#local-6989586621679634118"><span class="hs-identifier hs-var">a</span></a></span><span> </span><span class="annot"><span class="annottext">ByteString
</span><a href="#local-6989586621679634115"><span class="hs-identifier hs-var">b</span></a></span><span>
</span><span id="line-35"></span><span>
</span><span id="line-36"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679634109"><span id="local-6989586621679634111"><span id="local-6989586621679634113"><span class="annot"><a href="../../binary/src/Data.Binary.Class.html#Binary"><span class="hs-identifier hs-type">Binary</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-type">PkgconfigVersion</span></a></span></span></span></span><span>
</span><span id="line-37"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679634102"><span id="local-6989586621679634104"><span class="annot"><a href="Distribution.Utils.Structured.html#Structured"><span class="hs-identifier hs-type">Structured</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-type">PkgconfigVersion</span></a></span></span></span><span>
</span><span id="line-38"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="../../deepseq/src/Control.DeepSeq.html#NFData"><span class="hs-identifier hs-type">NFData</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-type">PkgconfigVersion</span></a></span><span> </span><span class="hs-keyword">where</span><span> </span><span id="local-6989586621679634087"><span class="annot"><span class="annottext">rnf :: PkgconfigVersion -&gt; ()
</span><a href="../../deepseq/src/Control.DeepSeq.html#rnf"><span class="hs-identifier hs-var hs-var hs-var hs-var">rnf</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">PkgconfigVersion -&gt; ()
forall a. (Generic a, GNFData (Rep a)) =&gt; a -&gt; ()
</span><a href="Distribution.Compat.Prelude.html#genericRnf"><span class="hs-identifier hs-var">genericRnf</span></a></span><span>
</span><span id="line-39"></span><span>
</span><span id="line-40"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679634082"><span class="annot"><a href="Distribution.Pretty.html#Pretty"><span class="hs-identifier hs-type">Pretty</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-type">PkgconfigVersion</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-41"></span><span>    </span><span id="local-6989586621679634080"><span class="annot"><span class="annottext">pretty :: PkgconfigVersion -&gt; Doc
</span><a href="Distribution.Pretty.html#pretty"><span class="hs-identifier hs-var hs-var hs-var hs-var">pretty</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-type">PkgconfigVersion</span></a></span><span> </span><span id="local-6989586621679634078"><span class="annot"><span class="annottext">ByteString
</span><a href="#local-6989586621679634078"><span class="hs-identifier hs-var">bs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">String -&gt; Doc
</span><a href="../../pretty/src/Text.PrettyPrint.HughesPJ.html#text"><span class="hs-identifier hs-var">PP.text</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">ByteString -&gt; String
</span><a href="../../bytestring/src/Data.ByteString.Char8.html#unpack"><span class="hs-identifier hs-var">BS8.unpack</span></a></span><span> </span><span class="annot"><span class="annottext">ByteString
</span><a href="#local-6989586621679634078"><span class="hs-identifier hs-var">bs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-42"></span><span>
</span><span id="line-43"></span><span class="hs-comment">-- |</span><span>
</span><span id="line-44"></span><span class="hs-comment">--</span><span>
</span><span id="line-45"></span><span class="hs-comment">-- &gt;&gt;&gt; simpleParsec &quot;1.0.2n&quot; :: Maybe PkgconfigVersion</span><span>
</span><span id="line-46"></span><span class="hs-comment">-- Just (PkgconfigVersion &quot;1.0.2n&quot;)</span><span>
</span><span id="line-47"></span><span class="hs-comment">--</span><span>
</span><span id="line-48"></span><span class="hs-comment">-- &gt;&gt;&gt; simpleParsec &quot;0.3.5+ds&quot; :: Maybe PkgconfigVersion</span><span>
</span><span id="line-49"></span><span class="hs-comment">-- Nothing</span><span>
</span><span id="line-50"></span><span class="hs-comment">--</span><span>
</span><span id="line-51"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="Distribution.Parsec.html#Parsec"><span class="hs-identifier hs-type">Parsec</span></a></span><span> </span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-type">PkgconfigVersion</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-52"></span><span>    </span><span id="local-6989586621679634059"><span class="annot"><span class="annottext">parsec :: forall (m :: * -&gt; *). CabalParsing m =&gt; m PkgconfigVersion
</span><a href="Distribution.Parsec.html#parsec"><span class="hs-identifier hs-var hs-var hs-var hs-var">parsec</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">ByteString -&gt; PkgconfigVersion
</span><a href="Distribution.Types.PkgconfigVersion.html#PkgconfigVersion"><span class="hs-identifier hs-var">PkgconfigVersion</span></a></span><span> </span><span class="annot"><span class="annottext">(ByteString -&gt; PkgconfigVersion)
-&gt; (String -&gt; ByteString) -&gt; String -&gt; PkgconfigVersion
forall b c a. (b -&gt; c) -&gt; (a -&gt; b) -&gt; a -&gt; c
</span><a href="../../base/src/GHC.Base.html#."><span class="hs-operator hs-var">.</span></a></span><span> </span><span class="annot"><span class="annottext">String -&gt; ByteString
</span><a href="../../bytestring/src/Data.ByteString.Char8.html#pack"><span class="hs-identifier hs-var">BS8.pack</span></a></span><span> </span><span class="annot"><span class="annottext">(String -&gt; PkgconfigVersion) -&gt; m String -&gt; m PkgconfigVersion
forall (f :: * -&gt; *) a b. Functor f =&gt; (a -&gt; b) -&gt; f a -&gt; f b
</span><a href="../../base/src/Data.Functor.html#%3C%24%3E"><span class="hs-operator hs-var">&lt;$&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">(Char -&gt; Bool) -&gt; m String
forall (m :: * -&gt; *). CharParsing m =&gt; (Char -&gt; Bool) -&gt; m String
</span><a href="Distribution.Compat.CharParsing.html#munch1"><span class="hs-identifier hs-var">P.munch1</span></a></span><span> </span><span class="annot"><span class="annottext">Char -&gt; Bool
</span><a href="#local-6989586621679634053"><span class="hs-identifier hs-var">predicate</span></a></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-53"></span><span>        </span><span id="local-6989586621679634053"><span class="annot"><span class="annottext">predicate :: Char -&gt; Bool
</span><a href="#local-6989586621679634053"><span class="hs-identifier hs-var hs-var">predicate</span></a></span></span><span> </span><span id="local-6989586621679634049"><span class="annot"><span class="annottext">Char
</span><a href="#local-6989586621679634049"><span class="hs-identifier hs-var">c</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Char -&gt; Bool
</span><a href="Distribution.Utils.Generic.html#isAsciiAlphaNum"><span class="hs-identifier hs-var">isAsciiAlphaNum</span></a></span><span> </span><span class="annot"><span class="annottext">Char
</span><a href="#local-6989586621679634049"><span class="hs-identifier hs-var">c</span></a></span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><span class="hs-operator hs-var">||</span></span><span> </span><span class="annot"><span class="annottext">Char
</span><a href="#local-6989586621679634049"><span class="hs-identifier hs-var">c</span></a></span><span> </span><span class="annot"><span class="annottext">Char -&gt; Char -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">==</span></span><span> </span><span class="annot"><span class="annottext">Char
</span><span class="hs-char">'.'</span></span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><span class="hs-operator hs-var">||</span></span><span> </span><span class="annot"><span class="annottext">Char
</span><a href="#local-6989586621679634049"><span class="hs-identifier hs-var">c</span></a></span><span> </span><span class="annot"><span class="annottext">Char -&gt; Char -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">==</span></span><span> </span><span class="annot"><span class="annottext">Char
</span><span class="hs-char">'-'</span></span><span>
</span><span id="line-54"></span><span>
</span><span id="line-55"></span><span class="hs-comment">-------------------------------------------------------------------------------</span><span>
</span><span id="line-56"></span><span class="hs-comment">-- rmpvercmp - pure Haskell implementation</span><span>
</span><span id="line-57"></span><span class="hs-comment">-------------------------------------------------------------------------------</span><span>
</span><span id="line-58"></span><span>
</span><span id="line-59"></span><span class="hs-comment">-- | Compare two version strings as @pkg-config@ would compare them.</span><span>
</span><span id="line-60"></span><span class="hs-comment">--</span><span>
</span><span id="line-61"></span><span class="hs-comment">-- @since 3.0</span><span>
</span><span id="line-62"></span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#rpmvercmp"><span class="hs-identifier hs-type">rpmvercmp</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../bytestring/src/Data.ByteString.Internal.html#ByteString"><span class="hs-identifier hs-type">BS.ByteString</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="../../bytestring/src/Data.ByteString.Internal.html#ByteString"><span class="hs-identifier hs-type">BS.ByteString</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Ordering</span></span><span>
</span><span id="line-63"></span><span id="rpmvercmp"><span class="annot"><span class="annottext">rpmvercmp :: ByteString -&gt; ByteString -&gt; Ordering
</span><a href="Distribution.Types.PkgconfigVersion.html#rpmvercmp"><span class="hs-identifier hs-var hs-var">rpmvercmp</span></a></span></span><span> </span><span id="local-6989586621679634047"><span class="annot"><span class="annottext">ByteString
</span><a href="#local-6989586621679634047"><span class="hs-identifier hs-var">a</span></a></span></span><span> </span><span id="local-6989586621679634046"><span class="annot"><span class="annottext">ByteString
</span><a href="#local-6989586621679634046"><span class="hs-identifier hs-var">b</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">[Word8] -&gt; [Word8] -&gt; Ordering
</span><a href="#local-6989586621679634045"><span class="hs-identifier hs-var">go0</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">ByteString -&gt; [Word8]
</span><a href="../../bytestring/src/Data.ByteString.html#unpack"><span class="hs-identifier hs-var">BS.unpack</span></a></span><span> </span><span class="annot"><span class="annottext">ByteString
</span><a href="#local-6989586621679634047"><span class="hs-identifier hs-var">a</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">ByteString -&gt; [Word8]
</span><a href="../../bytestring/src/Data.ByteString.html#unpack"><span class="hs-identifier hs-var">BS.unpack</span></a></span><span> </span><span class="annot"><span class="annottext">ByteString
</span><a href="#local-6989586621679634046"><span class="hs-identifier hs-var">b</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-64"></span><span>  </span><span class="hs-keyword">where</span><span>
</span><span id="line-65"></span><span>    </span><span class="annot"><a href="#local-6989586621679634045"><span class="hs-identifier hs-type">go0</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="../../base/src/GHC.Word.html#Word8"><span class="hs-identifier hs-type">Word8</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="../../base/src/GHC.Word.html#Word8"><span class="hs-identifier hs-type">Word8</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Ordering</span></span><span>
</span><span id="line-66"></span><span>    </span><span class="hs-comment">-- if there is _any_ trailing &quot;garbage&quot;, it seems to affect result</span><span>
</span><span id="line-67"></span><span>    </span><span class="hs-comment">-- https://github.com/haskell/cabal/issues/6805</span><span>
</span><span id="line-68"></span><span>    </span><span id="local-6989586621679634045"><span class="annot"><span class="annottext">go0 :: [Word8] -&gt; [Word8] -&gt; Ordering
</span><a href="#local-6989586621679634045"><span class="hs-identifier hs-var hs-var">go0</span></a></span></span><span> </span><span class="hs-special">[</span><span class="hs-special">]</span><span> </span><span class="hs-special">[</span><span class="hs-special">]</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Ordering
</span><span class="hs-identifier hs-var">EQ</span></span><span>
</span><span id="line-69"></span><span>    </span><span class="annot"><a href="#local-6989586621679634045"><span class="hs-identifier hs-var">go0</span></a></span><span> </span><span class="hs-special">[</span><span class="hs-special">]</span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><span class="hs-identifier">_</span></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Ordering
</span><span class="hs-identifier hs-var">LT</span></span><span>
</span><span id="line-70"></span><span>    </span><span class="annot"><a href="#local-6989586621679634045"><span class="hs-identifier hs-var">go0</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><span class="hs-identifier">_</span></span><span>  </span><span class="hs-special">[</span><span class="hs-special">]</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Ordering
</span><span class="hs-identifier hs-var">GT</span></span><span>
</span><span id="line-71"></span><span>    </span><span class="annot"><a href="#local-6989586621679634045"><span class="hs-identifier hs-var">go0</span></a></span><span> </span><span id="local-6989586621679634043"><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634043"><span class="hs-identifier hs-var">xs</span></a></span></span><span> </span><span id="local-6989586621679634042"><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634042"><span class="hs-identifier hs-var">ys</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">[Word8] -&gt; [Word8] -&gt; Ordering
</span><a href="#local-6989586621679634041"><span class="hs-identifier hs-var">go1</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">[Word8] -&gt; [Word8]
</span><a href="Distribution.Types.PkgconfigVersion.html#dropNonAlnum8"><span class="hs-identifier hs-var">dropNonAlnum8</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634043"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">[Word8] -&gt; [Word8]
</span><a href="Distribution.Types.PkgconfigVersion.html#dropNonAlnum8"><span class="hs-identifier hs-var">dropNonAlnum8</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634042"><span class="hs-identifier hs-var">ys</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-72"></span><span>
</span><span id="line-73"></span><span>    </span><span class="annot"><a href="#local-6989586621679634041"><span class="hs-identifier hs-type">go1</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="../../base/src/GHC.Word.html#Word8"><span class="hs-identifier hs-type">Word8</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="../../base/src/GHC.Word.html#Word8"><span class="hs-identifier hs-type">Word8</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Ordering</span></span><span>
</span><span id="line-74"></span><span>    </span><span id="local-6989586621679634041"><span class="annot"><span class="annottext">go1 :: [Word8] -&gt; [Word8] -&gt; Ordering
</span><a href="#local-6989586621679634041"><span class="hs-identifier hs-var hs-var">go1</span></a></span></span><span> </span><span class="hs-special">[</span><span class="hs-special">]</span><span> </span><span class="hs-special">[</span><span class="hs-special">]</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Ordering
</span><span class="hs-identifier hs-var">EQ</span></span><span>
</span><span id="line-75"></span><span>    </span><span class="annot"><a href="#local-6989586621679634041"><span class="hs-identifier hs-var">go1</span></a></span><span> </span><span class="hs-special">[</span><span class="hs-special">]</span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><span class="hs-identifier">_</span></span><span>  </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Ordering
</span><span class="hs-identifier hs-var">LT</span></span><span>
</span><span id="line-76"></span><span>    </span><span class="annot"><a href="#local-6989586621679634041"><span class="hs-identifier hs-var">go1</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><span class="hs-identifier">_</span></span><span>  </span><span class="hs-special">[</span><span class="hs-special">]</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Ordering
</span><span class="hs-identifier hs-var">GT</span></span><span>
</span><span id="line-77"></span><span>    </span><span class="annot"><a href="#local-6989586621679634041"><span class="hs-identifier hs-var">go1</span></a></span><span> </span><span id="local-6989586621679634039"><span class="annot"><span class="annottext">xs :: [Word8]
</span><a href="#local-6989586621679634039"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-glyph">@</span><span class="hs-special">(</span><span id="local-6989586621679634038"><span class="annot"><span class="annottext">Word8
</span><a href="#local-6989586621679634038"><span class="hs-identifier hs-var">x</span></a></span></span><span class="annot"><span class="hs-glyph hs-type">:</span></span><span class="annot"><span class="annottext">[Word8]
</span><span class="hs-identifier">_</span></span><span class="hs-special">)</span><span> </span><span id="local-6989586621679634037"><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634037"><span class="hs-identifier hs-var">ys</span></a></span></span><span>
</span><span id="line-78"></span><span>      </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Word8 -&gt; Bool
</span><a href="Distribution.Types.PkgconfigVersion.html#isDigit8"><span class="hs-identifier hs-var">isDigit8</span></a></span><span> </span><span class="annot"><span class="annottext">Word8
</span><a href="#local-6989586621679634038"><span class="hs-identifier hs-var">x</span></a></span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-79"></span><span>          </span><span class="hs-keyword">let</span><span> </span><span class="hs-special">(</span><span id="local-6989586621679634035"><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634035"><span class="hs-identifier hs-var">xs1</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679634034"><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634034"><span class="hs-identifier hs-var">xs2</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Word8 -&gt; Bool) -&gt; [Word8] -&gt; ([Word8], [Word8])
forall a. (a -&gt; Bool) -&gt; [a] -&gt; ([a], [a])
</span><a href="../../base/src/GHC.List.html#span"><span class="hs-identifier hs-var">span</span></a></span><span> </span><span class="annot"><span class="annottext">Word8 -&gt; Bool
</span><a href="Distribution.Types.PkgconfigVersion.html#isDigit8"><span class="hs-identifier hs-var">isDigit8</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634039"><span class="hs-identifier hs-var">xs</span></a></span><span>
</span><span id="line-80"></span><span>              </span><span class="hs-special">(</span><span id="local-6989586621679634032"><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634032"><span class="hs-identifier hs-var">ys1</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679634031"><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634031"><span class="hs-identifier hs-var">ys2</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Word8 -&gt; Bool) -&gt; [Word8] -&gt; ([Word8], [Word8])
forall a. (a -&gt; Bool) -&gt; [a] -&gt; ([a], [a])
</span><a href="../../base/src/GHC.List.html#span"><span class="hs-identifier hs-var">span</span></a></span><span> </span><span class="annot"><span class="annottext">Word8 -&gt; Bool
</span><a href="Distribution.Types.PkgconfigVersion.html#isDigit8"><span class="hs-identifier hs-var">isDigit8</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634037"><span class="hs-identifier hs-var">ys</span></a></span><span>
</span><span id="line-81"></span><span>            </span><span class="hs-comment">-- numeric segments are always newer than alpha segments</span><span>
</span><span id="line-82"></span><span>          </span><span class="hs-keyword">in</span><span> </span><span class="hs-keyword">if</span><span> </span><span class="annot"><span class="annottext">[Word8] -&gt; Bool
forall (t :: * -&gt; *) a. Foldable t =&gt; t a -&gt; Bool
</span><a href="../../base/src/Data.Foldable.html#null"><span class="hs-identifier hs-var">null</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634032"><span class="hs-identifier hs-var">ys1</span></a></span><span>
</span><span id="line-83"></span><span>             </span><span class="hs-keyword">then</span><span> </span><span class="annot"><span class="annottext">Ordering
</span><span class="hs-identifier hs-var">GT</span></span><span>
</span><span id="line-84"></span><span>             </span><span class="hs-keyword">else</span><span> </span><span class="annot"><span class="annottext">[Word8] -&gt; [Word8] -&gt; Ordering
</span><a href="Distribution.Types.PkgconfigVersion.html#compareInt"><span class="hs-identifier hs-var">compareInt</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634035"><span class="hs-identifier hs-var">xs1</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634032"><span class="hs-identifier hs-var">ys1</span></a></span><span> </span><span class="annot"><span class="annottext">Ordering -&gt; Ordering -&gt; Ordering
forall a. Semigroup a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Base.html#%3C%3E"><span class="hs-operator hs-var">&lt;&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8] -&gt; [Word8] -&gt; Ordering
</span><a href="#local-6989586621679634045"><span class="hs-identifier hs-var">go0</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634034"><span class="hs-identifier hs-var">xs2</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634031"><span class="hs-identifier hs-var">ys2</span></a></span><span>
</span><span id="line-85"></span><span>
</span><span id="line-86"></span><span>      </span><span class="hs-comment">-- isAlpha</span><span>
</span><span id="line-87"></span><span>      </span><span class="hs-glyph">|</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="../../base/src/GHC.Base.html#otherwise"><span class="hs-identifier hs-var">otherwise</span></a></span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-88"></span><span>          </span><span class="hs-keyword">let</span><span> </span><span class="hs-special">(</span><span id="local-6989586621679634028"><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634028"><span class="hs-identifier hs-var">xs1</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679634027"><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634027"><span class="hs-identifier hs-var">xs2</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Word8 -&gt; Bool) -&gt; [Word8] -&gt; ([Word8], [Word8])
forall a. (a -&gt; Bool) -&gt; [a] -&gt; ([a], [a])
</span><a href="../../base/src/GHC.List.html#span"><span class="hs-identifier hs-var">span</span></a></span><span> </span><span class="annot"><span class="annottext">Word8 -&gt; Bool
</span><a href="Distribution.Types.PkgconfigVersion.html#isAlpha8"><span class="hs-identifier hs-var">isAlpha8</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634039"><span class="hs-identifier hs-var">xs</span></a></span><span>
</span><span id="line-89"></span><span>              </span><span class="hs-special">(</span><span id="local-6989586621679634025"><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634025"><span class="hs-identifier hs-var">ys1</span></a></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679634024"><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634024"><span class="hs-identifier hs-var">ys2</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Word8 -&gt; Bool) -&gt; [Word8] -&gt; ([Word8], [Word8])
forall a. (a -&gt; Bool) -&gt; [a] -&gt; ([a], [a])
</span><a href="../../base/src/GHC.List.html#span"><span class="hs-identifier hs-var">span</span></a></span><span> </span><span class="annot"><span class="annottext">Word8 -&gt; Bool
</span><a href="Distribution.Types.PkgconfigVersion.html#isAlpha8"><span class="hs-identifier hs-var">isAlpha8</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634037"><span class="hs-identifier hs-var">ys</span></a></span><span>
</span><span id="line-90"></span><span>          </span><span class="hs-keyword">in</span><span> </span><span class="hs-keyword">if</span><span> </span><span class="annot"><span class="annottext">[Word8] -&gt; Bool
forall (t :: * -&gt; *) a. Foldable t =&gt; t a -&gt; Bool
</span><a href="../../base/src/Data.Foldable.html#null"><span class="hs-identifier hs-var">null</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634025"><span class="hs-identifier hs-var">ys1</span></a></span><span>
</span><span id="line-91"></span><span>             </span><span class="hs-keyword">then</span><span> </span><span class="annot"><span class="annottext">Ordering
</span><span class="hs-identifier hs-var">LT</span></span><span>
</span><span id="line-92"></span><span>             </span><span class="hs-keyword">else</span><span> </span><span class="annot"><span class="annottext">[Word8] -&gt; [Word8] -&gt; Ordering
</span><a href="Distribution.Types.PkgconfigVersion.html#compareStr"><span class="hs-identifier hs-var">compareStr</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634028"><span class="hs-identifier hs-var">xs1</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634025"><span class="hs-identifier hs-var">ys1</span></a></span><span> </span><span class="annot"><span class="annottext">Ordering -&gt; Ordering -&gt; Ordering
forall a. Semigroup a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Base.html#%3C%3E"><span class="hs-operator hs-var">&lt;&gt;</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8] -&gt; [Word8] -&gt; Ordering
</span><a href="#local-6989586621679634045"><span class="hs-identifier hs-var">go0</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634027"><span class="hs-identifier hs-var">xs2</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634024"><span class="hs-identifier hs-var">ys2</span></a></span><span>
</span><span id="line-93"></span><span>
</span><span id="line-94"></span><span class="hs-comment">-- compare as numbers</span><span>
</span><span id="line-95"></span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#compareInt"><span class="hs-identifier hs-type">compareInt</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="../../base/src/GHC.Word.html#Word8"><span class="hs-identifier hs-type">Word8</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="../../base/src/GHC.Word.html#Word8"><span class="hs-identifier hs-type">Word8</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Ordering</span></span><span>
</span><span id="line-96"></span><span id="compareInt"><span class="annot"><span class="annottext">compareInt :: [Word8] -&gt; [Word8] -&gt; Ordering
</span><a href="Distribution.Types.PkgconfigVersion.html#compareInt"><span class="hs-identifier hs-var hs-var">compareInt</span></a></span></span><span> </span><span id="local-6989586621679634022"><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634022"><span class="hs-identifier hs-var">xs</span></a></span></span><span> </span><span id="local-6989586621679634021"><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634021"><span class="hs-identifier hs-var">ys</span></a></span></span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-97"></span><span>    </span><span class="hs-comment">-- whichever number has more digits wins</span><span>
</span><span id="line-98"></span><span>    </span><span class="annot"><span class="annottext">Int -&gt; Int -&gt; Ordering
forall a. Ord a =&gt; a -&gt; a -&gt; Ordering
</span><span class="hs-identifier hs-var">compare</span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">[Word8] -&gt; Int
forall (t :: * -&gt; *) a. Foldable t =&gt; t a -&gt; Int
</span><a href="../../base/src/Data.Foldable.html#length"><span class="hs-identifier hs-var">length</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634019"><span class="hs-identifier hs-var">xs'</span></a></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">[Word8] -&gt; Int
forall (t :: * -&gt; *) a. Foldable t =&gt; t a -&gt; Int
</span><a href="../../base/src/Data.Foldable.html#length"><span class="hs-identifier hs-var">length</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634018"><span class="hs-identifier hs-var">ys'</span></a></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Ordering -&gt; Ordering -&gt; Ordering
forall a. Semigroup a =&gt; a -&gt; a -&gt; a
</span><a href="../../base/src/GHC.Base.html#%3C%3E"><span class="hs-operator hs-var">&lt;&gt;</span></a></span><span>
</span><span id="line-99"></span><span>    </span><span class="hs-comment">-- equal length: use per character compare, &quot;strcmp&quot;</span><span>
</span><span id="line-100"></span><span>    </span><span class="annot"><span class="annottext">[Word8] -&gt; [Word8] -&gt; Ordering
forall a. Ord a =&gt; a -&gt; a -&gt; Ordering
</span><span class="hs-identifier hs-var">compare</span></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634019"><span class="hs-identifier hs-var">xs'</span></a></span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634018"><span class="hs-identifier hs-var">ys'</span></a></span><span>
</span><span id="line-101"></span><span>  </span><span class="hs-keyword">where</span><span>
</span><span id="line-102"></span><span>    </span><span class="hs-comment">-- drop  leading zeros</span><span>
</span><span id="line-103"></span><span>    </span><span id="local-6989586621679634019"><span class="annot"><span class="annottext">xs' :: [Word8]
</span><a href="#local-6989586621679634019"><span class="hs-identifier hs-var hs-var">xs'</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Word8 -&gt; Bool) -&gt; [Word8] -&gt; [Word8]
forall a. (a -&gt; Bool) -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.List.html#dropWhile"><span class="hs-identifier hs-var">dropWhile</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word8 -&gt; Word8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">==</span></span><span> </span><span class="annot"><span class="annottext">Word8
</span><span class="hs-number">0x30</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634022"><span class="hs-identifier hs-var">xs</span></a></span><span>
</span><span id="line-104"></span><span>    </span><span id="local-6989586621679634018"><span class="annot"><span class="annottext">ys' :: [Word8]
</span><a href="#local-6989586621679634018"><span class="hs-identifier hs-var hs-var">ys'</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Word8 -&gt; Bool) -&gt; [Word8] -&gt; [Word8]
forall a. (a -&gt; Bool) -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.List.html#dropWhile"><span class="hs-identifier hs-var">dropWhile</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word8 -&gt; Word8 -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">==</span></span><span> </span><span class="annot"><span class="annottext">Word8
</span><span class="hs-number">0x30</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">[Word8]
</span><a href="#local-6989586621679634021"><span class="hs-identifier hs-var">ys</span></a></span><span>
</span><span id="line-105"></span><span>
</span><span id="line-106"></span><span class="hs-comment">-- strcmp</span><span>
</span><span id="line-107"></span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#compareStr"><span class="hs-identifier hs-type">compareStr</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="../../base/src/GHC.Word.html#Word8"><span class="hs-identifier hs-type">Word8</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="../../base/src/GHC.Word.html#Word8"><span class="hs-identifier hs-type">Word8</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Ordering</span></span><span>
</span><span id="line-108"></span><span id="compareStr"><span class="annot"><span class="annottext">compareStr :: [Word8] -&gt; [Word8] -&gt; Ordering
</span><a href="Distribution.Types.PkgconfigVersion.html#compareStr"><span class="hs-identifier hs-var hs-var">compareStr</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">[Word8] -&gt; [Word8] -&gt; Ordering
forall a. Ord a =&gt; a -&gt; a -&gt; Ordering
</span><span class="hs-identifier hs-var">compare</span></span><span>
</span><span id="line-109"></span><span>
</span><span id="line-110"></span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#dropNonAlnum8"><span class="hs-identifier hs-type">dropNonAlnum8</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="../../base/src/GHC.Word.html#Word8"><span class="hs-identifier hs-type">Word8</span></a></span><span class="hs-special">]</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-special">[</span><span class="annot"><a href="../../base/src/GHC.Word.html#Word8"><span class="hs-identifier hs-type">Word8</span></a></span><span class="hs-special">]</span><span>
</span><span id="line-111"></span><span id="dropNonAlnum8"><span class="annot"><span class="annottext">dropNonAlnum8 :: [Word8] -&gt; [Word8]
</span><a href="Distribution.Types.PkgconfigVersion.html#dropNonAlnum8"><span class="hs-identifier hs-var hs-var">dropNonAlnum8</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">(Word8 -&gt; Bool) -&gt; [Word8] -&gt; [Word8]
forall a. (a -&gt; Bool) -&gt; [a] -&gt; [a]
</span><a href="../../base/src/GHC.List.html#dropWhile"><span class="hs-identifier hs-var">dropWhile</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-glyph">\</span><span id="local-6989586621679634011"><span class="annot"><span class="annottext">Word8
</span><a href="#local-6989586621679634011"><span class="hs-identifier hs-var">w</span></a></span></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool
</span><span class="hs-identifier hs-var">not</span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word8 -&gt; Bool
</span><a href="Distribution.Types.PkgconfigVersion.html#isDigit8"><span class="hs-identifier hs-var">isDigit8</span></a></span><span> </span><span class="annot"><span class="annottext">Word8
</span><a href="#local-6989586621679634011"><span class="hs-identifier hs-var">w</span></a></span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><span class="hs-operator hs-var">||</span></span><span> </span><span class="annot"><span class="annottext">Word8 -&gt; Bool
</span><a href="Distribution.Types.PkgconfigVersion.html#isAlpha8"><span class="hs-identifier hs-var">isAlpha8</span></a></span><span> </span><span class="annot"><span class="annottext">Word8
</span><a href="#local-6989586621679634011"><span class="hs-identifier hs-var">w</span></a></span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-112"></span><span>
</span><span id="line-113"></span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#isDigit8"><span class="hs-identifier hs-type">isDigit8</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Word.html#Word8"><span class="hs-identifier hs-type">Word8</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span>
</span><span id="line-114"></span><span id="isDigit8"><span class="annot"><span class="annottext">isDigit8 :: Word8 -&gt; Bool
</span><a href="Distribution.Types.PkgconfigVersion.html#isDigit8"><span class="hs-identifier hs-var hs-var">isDigit8</span></a></span></span><span> </span><span id="local-6989586621679634009"><span class="annot"><span class="annottext">Word8
</span><a href="#local-6989586621679634009"><span class="hs-identifier hs-var">w</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Word8
</span><span class="hs-number">0x30</span></span><span> </span><span class="annot"><span class="annottext">Word8 -&gt; Word8 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">&lt;=</span></span><span> </span><span class="annot"><span class="annottext">Word8
</span><a href="#local-6989586621679634009"><span class="hs-identifier hs-var">w</span></a></span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><span class="hs-operator hs-var">&amp;&amp;</span></span><span> </span><span class="annot"><span class="annottext">Word8
</span><a href="#local-6989586621679634009"><span class="hs-identifier hs-var">w</span></a></span><span> </span><span class="annot"><span class="annottext">Word8 -&gt; Word8 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">&lt;=</span></span><span> </span><span class="annot"><span class="annottext">Word8
</span><span class="hs-number">0x39</span></span><span>
</span><span id="line-115"></span><span>
</span><span id="line-116"></span><span class="annot"><a href="Distribution.Types.PkgconfigVersion.html#isAlpha8"><span class="hs-identifier hs-type">isAlpha8</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Word.html#Word8"><span class="hs-identifier hs-type">Word8</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span>
</span><span id="line-117"></span><span id="isAlpha8"><span class="annot"><span class="annottext">isAlpha8 :: Word8 -&gt; Bool
</span><a href="Distribution.Types.PkgconfigVersion.html#isAlpha8"><span class="hs-identifier hs-var hs-var">isAlpha8</span></a></span></span><span> </span><span id="local-6989586621679634006"><span class="annot"><span class="annottext">Word8
</span><a href="#local-6989586621679634006"><span class="hs-identifier hs-var">w</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word8
</span><span class="hs-number">0x41</span></span><span> </span><span class="annot"><span class="annottext">Word8 -&gt; Word8 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">&lt;=</span></span><span> </span><span class="annot"><span class="annottext">Word8
</span><a href="#local-6989586621679634006"><span class="hs-identifier hs-var">w</span></a></span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><span class="hs-operator hs-var">&amp;&amp;</span></span><span> </span><span class="annot"><span class="annottext">Word8
</span><a href="#local-6989586621679634006"><span class="hs-identifier hs-var">w</span></a></span><span> </span><span class="annot"><span class="annottext">Word8 -&gt; Word8 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">&lt;=</span></span><span> </span><span class="annot"><span class="annottext">Word8
</span><span class="hs-number">0x5A</span></span><span class="hs-special">)</span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><span class="hs-operator hs-var">||</span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Word8
</span><span class="hs-number">0x61</span></span><span> </span><span class="annot"><span class="annottext">Word8 -&gt; Word8 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">&lt;=</span></span><span> </span><span class="annot"><span class="annottext">Word8
</span><a href="#local-6989586621679634006"><span class="hs-identifier hs-var">w</span></a></span><span> </span><span class="annot"><span class="annottext">Bool -&gt; Bool -&gt; Bool
</span><span class="hs-operator hs-var">&amp;&amp;</span></span><span> </span><span class="annot"><span class="annottext">Word8
</span><a href="#local-6989586621679634006"><span class="hs-identifier hs-var">w</span></a></span><span> </span><span class="annot"><span class="annottext">Word8 -&gt; Word8 -&gt; Bool
forall a. Ord a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">&lt;=</span></span><span> </span><span class="annot"><span class="annottext">Word8
</span><span class="hs-number">0x7A</span></span><span class="hs-special">)</span><span>
</span><span id="line-118"></span><span>
</span><span id="line-119"></span><span>
</span><span id="line-120"></span></pre></body></html>